package com.futureCloudMOM.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.futureCloudMOM.core.entity.FBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Event_RecordStep", description = "事件步骤记录表")
@TableName(value = "Event_RecordStep")
public class EventRecordStep extends FBaseEntity implements Serializable {


    
    @ApiModelProperty("记录主表ID")
    @TableField(value = "recordId")
    private Long recordId;
    
    @ApiModelProperty("步骤ID")
    @TableField(value = "stepId")
    private Long stepId;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("步骤名称")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "stepName")
    private String stepName;
    
    @ApiModelProperty("步骤序号")
    @TableField(value = "stepNum")
    private Long stepNum;
    
    @ApiModelProperty("记录时间")
    @TableField(value = "recordTime")
    private Date recordTime;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("执行人Id")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "doUserid")
    private String doUserid;
    
    @ApiModelProperty("执行时间")
    @TableField(value = "doTime")
    private Date doTime;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("备注")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "doRemark")
    private String doRemark;
    
    @ApiModelProperty("状态")
    @TableField(value = "status")
    private Long status;
    
    @Size(max= 500,message="编码长度不能超过500")
    @ApiModelProperty("存储过程名称")
    @Length(max= 500,message="编码长度不能超过500")
    @TableField(value = "execProcName")
    private String execProcName;
    
    @ApiModelProperty("拍照上传文件路径")
    @TableField(value = "picFile")
    private Long picFile;






}

